<?php
return array(
	'SYSTEM_LANG'		=> array('fr'=>L('lang_fr'),'cn'=>L('lang_cn')),// 系统支持的语言	,'iy'=>'意大利语','tw'=>'繁体中文'
	'CFG_RIGHT_TYPE'	=> array(//权限类型
								'RightAdd' 		=> L('RightAdd'),
								'RightView'		=> L('RightView'),
								'RightDelete'	=> L('delete'),
								'RightCancel'	=> L('cancel'),
								'RightEdit' 	=> L('RightEdit'),
								'RightAudit'=> L('audit'),
								'RightQuery'=> L('RightQuery'),
								'RightReset'=> L('RightReset'),
								'RightList' => L('index'),
								'RightPrint'=> '打印',
								'RightExtra' => '自定义'
							),
							
	 'CFG_PUBLIC_RIGHTS' =>array('Index','Memche','Ajax','AjaxBrf','AjaxExpand','AjaxValidation','AutoComplete','AutoShow','AjaxUploadify'),// 公共权限
	 
	 'CFG_USER_TYPE'	 =>array(1=>L('company'),2=>L('client'),3=>L('factory')),// 用户账号类型
	 
	 'CLIENT_TYPE'		=>array(1=>L('bfclient'),2=>L('lsclient'),3=>L('qtclient')),
	 'BASICSTATE'		=>array(1=>L('normal'),2=>L('cancel')),
	 'AUDIT_STATE'		=>array(1 => L('wait_audit'), 2 => L('audited'), 3 => L('unpass')),// 审核状态
	 'SEX'				=>array(1=>L('man'),2=>L('wowan')), 				// 性别
	 'IS_USE'			=>array(1=>L('able'),2=>L('unable')), 				//是否可用
	 'IS_DEFAULT'		=>array(1=>L('yes'),2=>L('no')), 				//是否默认
	 'PAY_TYPE'			=>array(1=>L('outlay'),2=>L('income')), 			// 支付类别
	 'INCOME_TYPE'		=>array(1=>L('income'),-1=>L('outlay')), 			// 支付类别
	 'SAVE_DRAW_TYPE'	=>array(1=>L('save_type'),-1=>L('withdraw')), 			// 支付类别
	 'YES_NO'			=>array(1=>L('yes'),0=>L('no')), 				// 只做为配置使用，0值不入库
	 'IS_PRODUCTION'	=>array(1=>L('yes'),0=>L('no')), 				// 只做为配置使用，0值不入库
	 'SET_RATE'			=>array(1=>L('fixedrate'),2=>L('set_rate_type_2'),3=>L('set_rate_type_3')),
	 'PROPERTIES_TYPE'	=>array(1=>L('input_type_1'),2=>L('input_type_2'),3=>L('input_type_3')), 	
	 'PATTERN_TYPE_ALL'	=>array(1=>L('pattern_type_1'),2=>L('pattern_type_2'),3=>L('pattern_type_3')), 	
	 // 用于添加菜单时的选项
	/* 'FLOW_NAME'		=>array('basic'=>L('basic'),'pattern'=>L('pattern'),'order'=>L('order'),'container'=>L('container'),
	 							'instock'=>L('instock'),'sale'=>L('sale'),'pre_delivery'=>L('pre_delivery'),'delivery'=>L('delivery'),
	 							'invoice'=>L('invoice'),'accounts'=>L('accounts'),'stat'=>L('stat'),'system'=>L('system')), // 流程配置 
     */
	 'AUDIT_STATE'			=> array(1 => L('wait_audit'), 2 => L('audited'), 3 => L('unpass')),// 审核状态
	 'ORDER_DETAIL_STATE' 	=> array(1 => L('order_normal'), 2 => L('order_part_finished'), 3 => L('order_finished'),4=>L('manual_finished')), // 订单明细状态
	 'ORDER_STATE' 			=> array(1 => L('order_normal'), 2 => L('order_part_finished'), 3 => L('order_finished'),4=>L('manual_finished')),	// 订单状态
	 'LOAD_STATE' 			=> array(1 =>  L('loaded'), 2 =>  L('temp_load'), 3 =>  L('finished')),	// 装柜状态	
	 'BANK_SOURCE' 			=> array(0 =>  L('hand_funds'), 121 =>  L('stat_advance_income_money'), 103 =>  L('ClientFunds'), 800 =>  L('otherexpenses'), 801 =>  L('otherrevenue'), 203 =>  L('FactoryFunds'), 303 =>  L('LogisticsFunds')),	// 装柜状态	
	 'BILL_SOURCE' 			=> array(121 =>  L('stat_advance_income_money'), 103 =>  L('ClientFunds'), 800 =>  L('otherexpenses'), 801 =>  L('otherrevenue'), 203 =>  L('FactoryFunds'), 303 =>  L('LogisticsFunds')),	// 装柜状态	
	'PAID_DETAIL_OBJECT_TYPE'	=>	array(
							1=>'ComCashIni',//公司现金期初 
							101=>'ClientIni',//客户期初欠款
							102=>'ClientOtherArrearages',//客户其他欠款
							103=>'ClientFunds',//客户不指定收款  
							104=>'ClientFundsCloseOut',//客户付款平帐 
							
							120=>'ClientSale',//销售单客户欠款 
							121=>'ClientSaleAdvance',//销售单预收款 
							122=>'ClientSaleCloseOut',//销售单指定平帐
							123=>'ClientReturnSale',//退货
							124=>'ClientSaleDelivery',//销售单实际发货 
							129=>'ClientCheckAccount', // 客户对账
							
							201=>'FactoryIni',//厂家期初欠款 
							202=>'FactoryOtherArrearages',//厂家其他欠款
							203=>'FactoryFunds',//厂家不指定收款 
							204=>'FactoryFundsCloseOut',//厂家付款平帐
							
							220=>'FactoryInstock',//入库欠款 
							221=>'FactoryOnRoad',//厂家装柜在路上的款项 
							229=>'FactoryCheckAccount', // 厂家对账
							
							301=>'LogisticsIni',//物流期初欠款
							302=>'LogisticsOtherArrearages',//物流其他欠款
							303=>'LogisticsFunds',//物流不指定收款 
							304=>'LogisticsFundsCloseOut',//物流付款平帐
							
							320=>'LogisticsInstock',//物流入库欠款
							329=>'LogisticsCheckAccount', //物流公司对账
							
							800=>'ComOtherExpenses',//公司其他支出
							801=>'ComOtherRevenue',//公司其他收入
							
							 
	), 
	'BANK_OBJECT_TYPE'	=>	array(
							1=>'BankIni',		//银行账号期初
							2=>'BankJournal',	//银行存取款
							3=>'BankRemittance',//银行汇款
							4=>'BankOther',		//银行其他转入
	), 	 
	 'AUDIT_TYPE_MODEL' 	=> array(1=>'Orders', 2=>'LoadContainer', 3=>'Instock', 4 => 'SaleOrder', 5 => 'PreDelivery'), // 审核中类型对应的模块
	 'SALE_ORDER_TYPE'		=>	array(1 => L('sale_type_order'), 2 => L('sale_type_exchange')), // 销售类型
	 'RETURN_SALE_ORDER_TYPE'		=>	array(1 => L('return_sale_type_order'), 2 => L('return_sale_type_exchange')), // 销退类型
	 'EMAIL_TYPE'			=>	array(1 => '订货单', 2 => '装柜单', 3 => '入库单', 4 => '销售单', 5 => '发货单'),	//支票贴现状态
	 'SALE_ORDER_STATE'		=>	array(1 => L('sale_unfinished'), 2 => L('sale_pre_delivery'), 3 => L('sale_finished')),	// 销售单状态
	 'SALE_ORDER_STATE2'	=>	array(1 => L('sale_unfinished'), 3 => L('sale_finished')),	// 销售单状态
	 'PAID_TYPE'			=>	array(1 => L('cash'), 2 => L('pay_bill'), 3 => L('pay_transfer')),	// 销售单状态	 
	 'IS_COST'				=>	array(1 => L('yes'), 2 => L('no')),	//是否记录成本
	 'BILL_STATE'			=>	array(2 => L('bill_state_yes'), 1 => L('bill_state_no')),	//支票贴现状态
	 'RELEVANCE_CASH'		=>	array(1 => L('yes'), 2 => L('no'), 3 => L('unknown')),	//支票贴现状态
	 'MAIN_BASIC_ID'		=>	1,	// 本公司(默认把没有选择所属公司的账目记录到此公司ID当中)
	 'ROLE_TYPE'			=>	array(1 => L("full"), 2 => L("domestic"), 3 => L("abroad"), 4 => L("factory"), 5 => L("client")), // 角色类型  
	 'MANTISSA'		=>	array(1 => L('mantissa_1'), L('mantissa_2')), // 正箱，尾箱  
	 'ACCOUNT_CONDITION'	=>	array(1=>L('paid_payment'),2 => L('non_payment')), // 销售单支付类型  
	 'IMPORT_EXCEL'			=>	array(1=>'国家、城市','员工','颜色','尺码','产品','客户','厂家','其它往来单位','期初库存','库存盘点','厂家期初欠款','客户期初欠款'), // 销售单支付类型  
	 'UPLOAD_DIR'			=>	array(		//上传文件目录
	 							1 => 'Product/',//产品
	 							2 => 'Pattern/',//打板
	 							3 => 'SaleOrder/',//打板
	 							10 => 'Excel/',//导入的Excel文件
	 							),
	 'INVOICE_HOLIDAY_TYPE'=> array(1=>L('in_invoice'),2=>L('out_invoice'),3=>L('both_invoice')),
	 'STOCKTAKE_TYPE'=> array(1=>L('stocktake_type_1'),2=>L('stocktake_type_2')),//盈亏单盘点类别	
	 'INVOICE_TYPE'	=> array(1=>L('saleorder'),2=>L('return_sale_type_order')),
	 'COMPARE_TYPE'	=> array(1=>L('compare_type_year'),2=>L('compare_type_month'),3=>L('compare_type_day')),
	 'PROFIT_USER'	=> array(1=>L('compare_type_month'),2=>L('compare_type_year')),
);